package com.citasgoo.admin.dao;

import com.citasgoo.admin.entity.SysPrmObject;
import com.citasgoo.admin.entity.SysPrmObjectQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysPrmObjectDao {
    int countByExample(SysPrmObjectQuery example);

    int deleteByExample(SysPrmObjectQuery example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysPrmObject record);

    int insertSelective(SysPrmObject record);

    List<SysPrmObject> selectByExampleWithBLOBs(SysPrmObjectQuery example);

    List<SysPrmObject> selectByExample(SysPrmObjectQuery example);

    SysPrmObject selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysPrmObject record, @Param("example") SysPrmObjectQuery example);

    int updateByExampleWithBLOBs(@Param("record") SysPrmObject record, @Param("example") SysPrmObjectQuery example);

    int updateByExample(@Param("record") SysPrmObject record, @Param("example") SysPrmObjectQuery example);

    int updateByPrimaryKeySelective(SysPrmObject record);

    int updateByPrimaryKeyWithBLOBs(SysPrmObject record);

    int updateByPrimaryKey(SysPrmObject record);

    void updateByParamKey(SysPrmObject record);
}